
import 'package:floor/floor.dart';

@entity
class GoodsScratchItem{

  @PrimaryKey(autoGenerate: true)
  int? id;
  final int scratchId;
  final String name;
  final String barcode;
  final double price;
  final int amount;
  final int goodsId;

  GoodsScratchItem(this.id,this.name, this.barcode,this.scratchId, this.price, this.amount, this.goodsId);

}